package com.sxt.jt808.dto;

import io.netty.buffer.ByteBuf;

/**
 * @Author: 罗林
 * @Date: 2019-12-15
 * @Description:终端注册包
 * @Version: 1.0
 */
public class RegisterMsg extends Jt808Msg{
	private short provinceId;//省域ID 2字节
    private short cityId;//市县ID 2字节
    private String manufacturerId;//制造商ID 5字节
    private String terminalType;//终端型号 8字节
    private String terminalId;//终端ID 7字节
    private byte licensePlateColor;//车牌颜色 1字节
    private String licensePlate;//车牌号 剩余字节
    
    
 // TODO set 和 get 方法
	public short getProvinceId() {
		return provinceId;
	}
	public void setProvinceId(short provinceId) {
		this.provinceId = provinceId;
	}
	public short getCityId() {
		return cityId;
	}
	public void setCityId(short cityId) {
		this.cityId = cityId;
	}
	public String getManufacturerId() {
		return manufacturerId;
	}
	public void setManufacturerId(String manufacturerId) {
		this.manufacturerId = manufacturerId;
	}
	public String getTerminalType() {
		return terminalType;
	}
	public void setTerminalType(String terminalType) {
		this.terminalType = terminalType;
	}
	public String getTerminalId() {
		return terminalId;
	}
	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}
	public byte getLicensePlateColor() {
		return licensePlateColor;
	}
	public void setLicensePlateColor(byte licensePlateColor) {
		this.licensePlateColor = licensePlateColor;
	}
	public String getLicensePlate() {
		return licensePlate;
	}
	public void setLicensePlate(String licensePlate) {
		this.licensePlate = licensePlate;
	}
	
	
	/**
     * 	无参构造函数
     * @param 
     * @return
     */
	public RegisterMsg() {
		
	}
	
	/**
     * 	有参构造函数
     * @param byteBuf
     * @return
     */
	public RegisterMsg(ByteBuf byteBuf) {
		super(byteBuf);
	}
	/**
	 * 	实现父类抽象方法（解析消息体）
	 */
	@Override
	protected void parseBody() {
		// TODO Auto-generated method stub
		
	}

}
